package com.seal.commons.enums;

/**
 * 功能描述: <br/>
 *
 * @author yong.huang
 * @date: 2020-06-16 21:59<br/>
 * @since JDK 1.8
 */
public enum AvailableEnum {

    /**
     * 可用
     */
    TRUE(Boolean.TRUE, "可用"),

    /**
     * 不可用
     */
    FALSE(Boolean.FALSE, "不可用");


    private final Boolean value;
    private final String info;

    private AvailableEnum(Boolean value, String info) {
        this.value = value;
        this.info = info;
    }

    public String getInfo() {
        return info;
    }

    public Boolean getValue() {
        return value;
    }
}